<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" charset="UTF-8">
    <title th:text="'Repository: ' + ${uri}"></title>
    <style>
        body {
            background: #fff;
        }
        pre {
            tab-size: 2;
        }
    </style>
</head>
<body>
    <header>
        <h1 th:text="${#strings.isEmpty(uri) ? 'Morii' : uri}"></h1>
    </header>
    <hr>
    <main>
        <pre>
            <span th:if="!${#strings.isEmpty(uri)}">
                <a class="content" href="../">../</a>
            </span>
            <span th:each="moriiURI: ${uriList}">
                <a class="content" th:href="${moriiURI.point + (moriiURI.file ? '' : '/' )}" th:title="${moriiURI.point + (moriiURI.file ? '' : '/' )}" th:text="${moriiURI.point + (moriiURI.file ? '' : '/' )}"></a>
                <span class="content" th:if="${moriiURI.file}" th:text="${moriiURI.crateTime} + '    ' + ${moriiURI.size}"></span>
                <span class="content" th:if="!${moriiURI.file}" th:text="'-    -'"></span>
            </span>
        </pre>
    </main>
    <hr>
</body>
</html>